//
//  GQHQutationsView.h
//  Xanthium
//
//  Created by GuanQinghao on 09/03/2018.
//  Copyright © 2018 GuanQinghao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GQHQutationModel.h"


@protocol GQHQutationsViewDelegate <NSObject>

@required
/// 默认必须实现

@optional
/// 可选实现

/// 点击功能列表项
- (void)qh_selectedRowWithTableView:(UITableView *)tableView atIndexPath:(NSIndexPath *)indexPath;

/// 联系货主
- (void)qh_dialMobile:(UIButton *)sender;

/// 确认承运协议或取消报价
- (void)qh_acceptContractOrNot:(UIButton *)sender;

/// 确认承运协议或取消报价
- (void)qh_canclePrice:(UIButton *)sender;

@end


@interface GQHQutationsView : UIView

/// 代理
@property (nonatomic, weak) id<GQHQutationsViewDelegate> qh_delegate;

/// 报价单列表
@property (nonatomic, strong) UITableView *qh_tableView;

/// 报价单模型数组
@property (nonatomic, strong) NSMutableArray<GQHQutationModel *> *qh_qutationModelArray;

@end
